package com.base.service.impl;

import com.base.mapper.voipmapper.QskCallMapper;
import com.base.po.voip.QskCall;
import com.base.po.voip.QskCallExample;
import com.base.service.QskCallService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("QskCallService")
public class QskCallServiceImpl implements QskCallService {
   private final  QskCallMapper qskCallMapper;

    public QskCallServiceImpl(QskCallMapper qskCallMapper) {
        this.qskCallMapper = qskCallMapper;
    }

    @Override
    public int countByExample(QskCallExample example) {
        return qskCallMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(QskCallExample example) {
        return qskCallMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return qskCallMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(QskCall record) {
        return qskCallMapper.insert(record);
    }

    @Override
    public int insertSelective(QskCall record) {
        return qskCallMapper.insertSelective(record);
    }

    @Override
    public List<QskCall> selectByExample(QskCallExample example) {
        return qskCallMapper.selectByExample(example);
    }

    @Override
    public QskCall selectByPrimaryKey(Integer id) {
        return qskCallMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByExampleSelective(QskCall record, QskCallExample example) {
        return qskCallMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(QskCall record, QskCallExample example) {
        return qskCallMapper.updateByExample(record, example);
    }

    @Override
    public int updateByPrimaryKeySelective(QskCall record) {
        return qskCallMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(QskCall record) {
        return qskCallMapper.updateByPrimaryKey(record);
    }

    @Override
    public String selectBySbdId(String id) {
        return qskCallMapper.selectBySbdId(id);
    }

    @Override
    public String selectSubByqskId(String qskid) {
        return qskCallMapper.selectSubByqskId(qskid);
    }

    @Override
    public void updateSbdId(String sbdId, String qskId) {
        qskCallMapper.updateSbdId(sbdId, qskId);
    }

    @Override
    public QskCall selectByQskId(String qskId) {
        return qskCallMapper.selectByQskId(qskId);
    }


}
